﻿#region Directives

using System;

#endregion Directives

namespace ConnectIntegrationHub.WebService.CRM
{
    [Serializable()]
    public class DeploymentEntity
    {
        #region Enumerations
        
        public enum Actions
        {
            Create = 1,
            Update = 2
        }

        #endregion Enumerations

        #region Public Properties

        public Guid DeploymentSynchronizationId
        {
            get;
            set;
        }
        
        public Int32? Order
        {
            get;
            set;
        }

        public String Name
        {
            get;
            set;
        }

        public String ExcludedAttributes
        {
            get;
            set;
        }

        public Actions Action
        {
            get;
            set;
        }
        
        #endregion Public Properties

        #region Constructors

        public DeploymentEntity()
        {
        }

        public DeploymentEntity(Guid deploymentSynchronizationId, Int32 order, String name, String excludedAttributes, Actions action)
        {
            this.DeploymentSynchronizationId = deploymentSynchronizationId;
            this.Order = order;
            this.Name = name;
            this.ExcludedAttributes = excludedAttributes;
            this.Action = action;
        }
        
        #endregion Constructors
    }
}